<span *ngFor="let star of stars; let i = index;" class="glyphicon glyphicon-star" (click)="clickStar(i)" [class.glyphicon-star-empty]="star"></span>
